﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.EditViewModelExtensions
{
    public class TransportadoraJolitexEditViewModel : JolitexEditViewModel<Transportadora>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Transportadora model)
        {
            yield return new TextBoxField("Código Jolitex", "codigo", model.TransportadoraJolitex.Codigo, true);
        }
    }
}